//
//  AppCell.m
//  IconMaster
//
//  Created by 为为 on 14-8-23.
//  Copyright (c) 2014年 为为. All rights reserved.
//

#import "AppCell.h"
#import <QuartzCore/QuartzCore.h>

@implementation AppCell

+ (AppCell *)getCell
{
	NSArray* nibObjects = [[NSBundle mainBundle] loadNibNamed:@"AppCell" owner:nil options:nil];
	AppCell* cell = nil;
	if ([[nibObjects objectAtIndex:0] isKindOfClass:[AppCell class]]) {
		cell = (AppCell*)[nibObjects objectAtIndex:0];
		[cell initImageView];
	}
	return cell;
}

- (id)initWithCoder:(NSCoder *)aDecoder
{
	self = [super initWithCoder:aDecoder];
	if (self) {
		
	}
	return self;
}

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
    }
    return self;
}

- (void)initImageView
{
	self.iconImageView.layer.cornerRadius = 10;
	self.iconImageView.layer.masksToBounds = true;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
